//
//  CBJHomeDetailController.swift
//  Weibo
//
//  Created by 崔健 on 16/5/20.
//  Copyright © 2016年 cbj. All rights reserved.
//

import UIKit

class CBJHomeDetailController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        view.backgroundColor = UIColor.whiteColor()
        
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "next", style: .Plain, target: self, action: #selector(next))
    }

    
    func next(){
        
        navigationController?.pushViewController(CBJHomeDetailController(), animated: true)
    }

}
